6c446c12e6af98373127cb4ae22de9e733879ac9,graylog2-server/src/test/java/org/graylog2/indexer/searches/SearchesTest.java,SearchesTest,testTermsWithNonExistingIndex,#,176
Before Change
.add(MongoIndexRange.create("does-not-exist",
new DateTime(0L, DateTimeZone.UTC),
new DateTime(2015, 1, 1, 0, 0, DateTimeZone.UTC),
DateTime.now(DateTimeZone.UTC),
0))
.build();
when(indexRangeService.find(any(DateTime.class), any(DateTime.class))).thenReturn(indexRanges);
After Change
.add(MongoIndexRange.create(INDEX_NAME,
new DateTime(0L, UTC),
new DateTime(2015, 1, 1, 0, 0, UTC),
DateTime.now(UTC),
0))
.add(MongoIndexRange.create("does-not-exist",
new DateTime(0L, UTC),